<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">  
	
	<ui:param name="documentViewBean" value="#{commonContentViewBean}" />
	<h:form id="#{documentViewBean.id}_form">
    <div style="width:100%;height:90%;overflow:auto;">
	    <ui:include src="#{documentViewBean.src}"/>
	</div>
	
	<div style="width:100%;height:10%;overflow:hidden; text-align:center;"> 
		
		<p:commandButton actionListener="#{caseWritction.submitsp}" title="提交"
						oncomplete="#{documentViewBean.id}_dialog.hide();"
						image="./img/icons/add.png" value="提交" style="margin:5px;">
						<h:inputHidden value="#{documentViewBean.id}" />
			</p:commandButton>
			
			<p:commandButton actionListener="#{caseWritction.update}" title="保存"
						image="./img/icons/add.png" value="保存" style="margin:5px;">
						<h:inputHidden value="#{documentViewBean.id}" />
			</p:commandButton>
					<p:commandButton title="关闭"  type="button" onclick="#{documentViewBean.id}_dialog.hide();" image="./img/icons/cancel.png"
			value="关闭" style="margin:5px;" />
	</div>
	</h:form>
</ui:composition>